<?php
namespace app\admin\controller;
use think\facade\Db;
use think\facade\View;

class Order
{
    public function orderList()
    {
        $arr = Db::table('ecm_order')->select();
        return view('order/order_list',[
            "list" => $arr
            ]);

    }
    public function orderDetail()
    {
        $arr = Db::table('ecm_order_product')->select();
        return view('order/order_etail',[
            "list" => $arr
        ]);
    }
    public function orderBrand()
    {
        $arr = Db::table('ecm_brand')->select();
        return view('order/order_band',[
            "list" => $arr
        ]);
    }
}